package com.zyit.mapper;

import com.zyit.model.Room;
import org.apache.ibatis.annotations.Select;

public interface RoomMapper {

    /**
     * 根据医生id找房间
     * @return
     */
    @Select("select * from room where id = #{id}")
    public Room findByUserId(Long userid);

}
